package com.spring.design.factory.factorymethod;

public class PizzaStore {
    public static void main(String[] args) {
        String loc ="bj";
        if(loc.equals("bj")){
            new BJOrderPizza();
        }else {
            new LDOrderPizza();
        }
    }
}
